package com.jasperframework.boot.common.exception;


import lombok.Data;

/**
  * <p>  </p>
  *
  * @site https://miliqkdoc.motopa.cn/
  * @author daizhao
  * @date 2022/12/12 12:12
  */
@Data
public class ApplicationRuntimeException extends RuntimeException{

	private static final long serialVersionUID = -3269956337283547411L;

	private int code;

	public ApplicationRuntimeException() {

	}

	public ApplicationRuntimeException(int code , String msg) {
		super(msg);
		this.code = code;
	}

	public ApplicationRuntimeException(String m, Throwable t) {
		super(m, t);
	}

	public ApplicationRuntimeException(String m) {
		super(m);
	}

	public ApplicationRuntimeException(Throwable t) {
		super(t);
	}
}
